pull: Validate delta checksums more strongly
authorColin Walters <walters@verbum.org>
Mon, 1 Jun 2015 20:56:19 +0000 (16:56 -0400)
committerColin Walters <walters@verbum.org>
Tue, 2 Jun 2015 13:07:28 +0000 (09:07 -0400)
commit9161e35d20b96c09167581543ca1bf1456477ce4
tree7decd0269080320c29520177463285bcd29637c9
parent0bd1ff393988727a17917b92fec71572d9448b54
pull: Validate delta checksums more strongly

We need to check that it's 'ay'.  Also reuse the existing validation
function to check it's 32 bytes rather than potentially crashing with
assertion.

Just noticed this during a code review.
src/libostree/ostree-repo-pull.c